package com.tsll.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author: Tian
 * @version: 1.0
 * @since: 1.0
 * @date: 2024/3/24/15:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PurchaseFormVo {
    private Integer id;
    private String apply;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date purchaseData;
    private Double sal;
    private List<PurchaseBooksInfoVo> bookList;

}
